package networked;

import com.jme3.math.Vector3f;
import com.jme3.network.AbstractMessage;
import com.jme3.network.serializing.Serializable;

/**
 *
 * @author Eike Foede
 */
@Serializable
public class ShootMessage extends AbstractMessage {

    private Vector3f pos;
    private Vector3f dir;

    public ShootMessage() {
    }

    public ShootMessage(Vector3f pos, Vector3f dir) {
        this.pos = pos;
        this.dir = dir;
    }

    public Vector3f getPos() {
        return pos;
    }

    public Vector3f getDir() {
        return dir;
    }
}
